SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6ceed2b12d9159ab21efa23c584d8e40e4e62d675d4f572e26e6daa5febb0caa' 
  AND token = 'pqpH39sr+uy/xjcEnJWh/4MPLmd5OnEN2RBTi6BlQls=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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