SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '667777cfd10acd74c774daa3f9389061fc1d9a32cf373af176f0eb0bcfe2242d' 
  AND token = 'huyznmHfOOUa87J9u/msxd4WxxvQHXgMT/5ZFcl2si0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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