SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2a91848709947ff442df2cb302f1302d60e49aeab814c32990074a036ea41c3' 
  AND token = '3oJAMP/oefXpHqxxnG7pwY4UMxVBUzvs3Adpv/MimPs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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