SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '03345ffd84e93084c136825dced099b3085870d8a7e305fbde05481fdc53283a' 
  AND token = '3rR9stGIgqDa5xdpmPlmsxcMMpW5ALGIhl2Zcuw8AEI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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