SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '78f346a59ba2fc447d7dfbd18cc118f56447eaeab8f76dd0707edcb597b52438' 
  AND token = '58xoVZOBvYIM29v7SEJm35HJnS02G0eFvMK640RJ4is=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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