SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a17ae35548bd36fa6ef2c0e0040d33fd584c3142d4c13995c0df03742ad38c9e' 
  AND token = '4riLtdWHAG8vFHWXggsXEz4kgda4sk7J+zewpr290JI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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