SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '071dfafe3d054238b167e6e5420c54e47a3e6e49f220346e1134e684db2224e2' 
  AND token = 'PPkNn1UR63/gvalrGacRGkqH4xsLI5o7eHH97WxNMDA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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