SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '387f0a007fc04a2d6df034f108b1ba2262f61cb1eb87f2eeddc2bd9740464bb2' 
  AND token = 'oNJHJWrpDqfeqEgTOTXLotcWgYymW7/24gsSXSNPjjs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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