SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dbe5436637d2a2d4658ccd819ab2aefab99ece9b041bf3974e19f808db523859' 
  AND token = 'I7ZsAe6rHJC5ZQMEiqQ8+DVhoBR91P9V+jrr87/Jnj0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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