SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5249ff1a746fc42a36bbdf58b287021efdf1de13609dae1d19b8d24b90308f4f' 
  AND token = 'Ozf27oDOiA1LkDpXOxb/7jJqqDY/diZ91cpG2bhdbD0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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