SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf544374008f8cc3552df800d9f169bdde1d534ba4ecd744f18372a51ed71a62' 
  AND token = 'PLpLbfVxJ6ZdijjIX/L6hQOdP93ggk44XtPfwdw0l3U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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