SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1dd1afdeca9e1d308ddc59e1b279a76a88ea246734da2f1811698f144371b9d3' 
  AND token = '8naQJxx6KieDuRZzAq+sMSUd/q6Ca/vUutiQ9BdKExE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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