SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'affd50e8552cc0461eac9b54a889ed1acfa98bfa1369253cc287391fd7ad4d91' 
  AND token = 'J9AbHgbLOcIs8FzAhMprr3/jtr2+m0flGKvKNa3eCIU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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