SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cb04911931378aa97fd6250e43ce5dd08904d7ecab01d2cb6fd18c340fc5b577' 
  AND token = 'v6oC9kWXlHtl+PB8kf00RfyaiV867McSiRIigYFxK/s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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