SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ab064c736fe557efee0ad23818eef583e1875f770246dfe80bdddc7d447577fa' 
  AND token = 'Z2mMH5XcyF9txn64sz8Zy30A/1aLFoid7laW082H8L8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}