SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'de97bc4611c401c7bddb4608ccef6b31c3fe622035ae94060b7158757163adf3' 
  AND token = 'JprXww8xEcp3penVyxZZ3WFSVK2OKUisFjRViwkCaCI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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