SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '040052684a2b491ef39e39ad9595cf6eaf2cf0306597b05da2b79677e0839716' 
  AND token = 'U/5Jql2r9/mHoH3vZRunqIQ1XEew8tcdA9p6zF00G8o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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