SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8cfcb827ac14d282eec28b23ed95cb1cdd8e3831bd0614a43b76e9866f385148' 
  AND token = 'Miq5PdCPJIq1o1JnJ3eVWZR/nXpe/7xV7Q06gyO3p1M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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