SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c65a933df0370014c822e59a549f1dbaa6884a396bb589656a09de5e72da6d65' 
  AND token = 'z2IXyk1oXx2QQu+Z4Nhhl5pzqDUH48RE17OP2iOdVw0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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