SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1f040b48262920c4857cf512610b6f9ce3e36eca6b88ec0e6227898455e76ff2' 
  AND token = '/POHOGwllu3LMaCLjYJon36ictek/p+LFylcaUBEYlM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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