SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f5e22e112c3c8a7cc5a3f0ef2cfa8e33a032e9c8246d65afcd544f4786e9e584' 
  AND token = 'GB1n74BvQe4kuoy6bnZnJ3/gkB1p0pFU5t1WiwoH5kE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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