SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cae4b4a678ecf76a05ab7c6047071eadf50e9681ca1eed053e5611a7dfb48178' 
  AND token = 'ljCnVXhFzQ6kFe/AGob0Gc12GC3K6JoLHgVnZSWFAK8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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