SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8018876706a35b45a856cfea957abee79fede764646f76b6dddeb91e83eed284' 
  AND token = 'cNZnlyLcdL9KLN3iuxngPo6jHldaeqVGNP14JxPSF0A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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