SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f976ce255a25e1b5697bc548761e88ef2400b33ea9e0eea67c91fa3e3b6f025' 
  AND token = 'rBVytASTaEzKh49qZh25vhp+cl4byi/ybAnfS/p3wuo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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