SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec0d931cefb7d74a293c575a01be3ddeddecf8ff57a892b7258eb636c5e989ff' 
  AND token = '+5D8KbLRiWVDdIOfW/Fr5YcNEBWcUYuhSTuKRfNbv4U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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