SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '785788976bb90407afff66f11ebf4cd233153b59eec8aa10946f4fcb629a6dbc' 
  AND token = 'Mw3KvbqyicX1d6DusIct5c3tcXzstUS2XiCNE4feOIA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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