SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '19284db8931257eeb847506ca2d812b09d8bb627122af8ea00c102fb8057477b' 
  AND token = 'aTZ7qdb5k0eUxmVfn+8mi/rNwidlmK4+SEbxNl3kX2I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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