SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd79f4a0cfc7d4d3075dea8611c1919c9ea127b56fe92dceea4cc9df5b0e10246' 
  AND token = 'DNUyeNgjRdqUGEGwhmi/Wi9CJ1Hl5s3MXFDPoQIk3NY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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